package com.diana.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author anzhi
 * @since 2020-03-27
 */
@TableName("alipay_refund_record")
public class AlipayRefundRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "outRequestNo",type = IdType.ID_WORKER)
    private String outRequestNo;
    private String outTradeNo;
    private BigDecimal refundAmount;
    private String refundReason;
    private String operatorId;
    private Date createTime;


    public String getOutRequestNo() {
        return outRequestNo;
    }

    public void setOutRequestNo(String outRequestNo) {
        this.outRequestNo = outRequestNo;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "AlipayRefundRecord{" +
        ", outRequestNo=" + outRequestNo +
        ", outTradeNo=" + outTradeNo +
        ", refundAmount=" + refundAmount +
        ", refundReason=" + refundReason +
        ", operatorId=" + operatorId +
        ", createTime=" + createTime +
        "}";
    }
}
